package com.javasm.process.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.javasm.sys.SysDepart;
import com.javasm.sys.SysPos;

import java.io.Serializable;


public class ProcessDef implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    private String pname;

    private Integer taskLeveal;

    private String taskName;

    private String taskUserDept;

    private String taskUserPosition;
    private String createTime;
    private String updateTime;
    @TableField(exist = false)
    private SysDepart dep;
    @TableField(exist = false)
    private SysPos syspos;

    public SysDepart getDep() {
        return dep;
    }

    public void setDep(SysDepart dep) {
        this.dep = dep;
    }

    public SysPos getSyspos() {
        return syspos;
    }

    public void setSyspos(SysPos syspos) {
        this.syspos = syspos;
    }

    public Integer getTaskLeveal() {
        return taskLeveal;
    }

    public void setTaskLeveal(Integer taskLeveal) {
        this.taskLeveal = taskLeveal;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }



    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskUserDept() {
        return taskUserDept;
    }

    public void setTaskUserDept(String taskUserDept) {
        this.taskUserDept = taskUserDept;
    }

    public String getTaskUserPosition() {
        return taskUserPosition;
    }

    public void setTaskUserPosition(String taskUserPosition) {
        this.taskUserPosition = taskUserPosition;
    }
}
